-
Notifications
You must be signed in to change notification settings - Fork 786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore asan warnings (clang) #3844
base: develop
Are you sure you want to change the base?
Conversation
@@ -1 +0,0 @@ | |||
src:*ed25519* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this file was used, correct me if I'm wrong
@@ -247,11 +247,25 @@ else() | |||
endif() | |||
|
|||
if(${USING_ASAN} OR ${USING_ASAN_INT}) | |||
|
|||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-fsanitize-blacklist and -fsanitize=integer only seem to be available with Clang so I added some checks
OSX (RocksDB) is failing on core_test: error code '124' after "active_transactions.fork_filter_cleanup" looks like a false positive? Same error for the code of conduct PR: |
Wanted to test out my WSL dev environment with Visual Code so took a crack at some of the address sanitizer warnings
1.) Added function attribute to ignore false unsigned int overflow warnings which fixes:
#3658
#3659
2.) Added blacklist file for Clang Address Sanitizer.
Also when running Address Sanitizer with core_test aborts in a couple of places:
It doesn't like that network_params is a reference and it is being accessed on different threads.
Is this a known issue or should I create a new issue?